package com.seanLab.domain;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by ailly on 17-9-25.
 */
@Document(collection = "editorImageScore")
public class EditorImageScore implements Serializable {
    @Id
    private String imageScoreID;

    private String sessionID;
    private Date imgScoreDate;
    private String imgScoreIPAddr;
    private String imgID;
    private int score;
    private String reason;

    public EditorImageScore() {
    }

    public EditorImageScore(String scoreID, String sessionID, Date imgScoreDate, String imgScoreIPAddr, String imgID, int score, String reason) {
        this.imageScoreID = scoreID;
        this.sessionID = sessionID;
        this.imgScoreDate = imgScoreDate;
        this.imgScoreIPAddr = imgScoreIPAddr;
        this.imgID = imgID;
        this.score = score;
        this.reason = reason;
    }

    public String getImageScoreID() {
        return imageScoreID;
    }

    public void setImageScoreID(String imageScoreID) {
        this.imageScoreID = imageScoreID;
    }

    public String getSessionID() {
        return sessionID;
    }

    public void setSessionID(String sessionID) {
        this.sessionID = sessionID;
    }

    public Date getImgScoreDate() {
        return imgScoreDate;
    }

    public void setImgScoreDate(Date imgScoreDate) {
        this.imgScoreDate = imgScoreDate;
    }

    public String getImgScoreIPAddr() {
        return imgScoreIPAddr;
    }

    public void setImgScoreIPAddr(String imgScoreIPAddr) {
        this.imgScoreIPAddr = imgScoreIPAddr;
    }

    public String getImgID() {
        return imgID;
    }

    public void setImgID(String imgID) {
        this.imgID = imgID;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }
}
